<%@page contentType="text/html; charset=utf-8"%>
<%@ include file="../inc/TagLibs.jsp"%>
<c:set var="pageTitle" value="导航" />
<%@ include file="../inc/Title.jsp"%>
<head>
<link rel="stylesheet" type="text/css" href="/css/base.css" />
<style type="text/css">
<!--
.style3 {color: #0000CC}
.STYLE1 {
	color: #154F8E;
	font-size: 12px;
}
body {
	background:#EAFAFF;
}
-->
</style>
</head>
<script language="javascript">
	function showCooperBillDialog(){
		parent.setIframeDisplay("none");
		var url="/base/EstablishmentListForSelect.ihtm?type=COOPERATOR&ts_id=DF_TS_ID";
		parent.ShowIframe("选择外协商",url,900,500,"showCooperBillDialogCallBack()");//showCooperBillDialogCallBack是父窗口的
	}
	function showGatherBillDialog(){
		var strUrl="/cooper/CooperBillListForGather.ihtm";
		showWin(900,600,strUrl);
	}
</script>
<body oncontextmenu="return false" scroll="no">
<div class="main">
	<div style="height:500px;">
		<div class="blank24">&nbsp;</div>
			<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
			  <tr>
			    <td width="96%" colspan="2" align="left" valign="top">
			    	<div style="height:50px"></div>
			    	<table width="89%" height="300" border="0" align="center" cellpadding="0" cellspacing="0">
			            <tr>
			              <th width="6%" height="32" scope="row">&nbsp;</th>
			              <td width="17%" align="center">
			              	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BUSI_MAKE;')!=-1}"><a href="javascript:showWin(1024,600,'/make/BusinessBillListForMake.ihtm');"><img src="/images/fac1.gif" border="0" title="查看哪些业务单需要制作"></a></c:if> 
			                <c:if test="${currentUser.user.userType!=1 && fn:indexOf(currentUser.privs,';BUSI_MAKE;')==-1}"><img src="/images/fac1.gif" border="0" title="查看哪些业务单需要制作"></c:if> 
			              </td>
			              <td width="8%"><img src="/images/bus001.gif" /></td>
			              <td width="17%" align="center">
			              	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';OUTP_NEW;')!=-1}"><a href="javascript:showWin(1024,600,'/make/BusinessBillListForOutput.ihtm');"><img src="/images/fac2.gif" border="0" title="登记每位制作人的产量"></a></c:if> 
			                <c:if test="${currentUser.user.userType!=1 && fn:indexOf(currentUser.privs,';OUTP_NEW;')==-1}"><img src="/images/fac2.gif" border="0" title="登记每位制作人的产量"></c:if> 
			              </td>
			              <td width="8%"><img src="/images/bus001.gif" /></td>
			              <td width="17%" align="center">
			              	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BUSI_COMP;')!=-1}"><a href="javascript:showWin(1024,600,'/business/BusinessBillListForComplete.ihtm');"><img src="/images/fac5.gif" border="0" title="将已经制作完成的项目设置为已完工状态，方便门市部了解制作进度"></a></c:if> 
			                <c:if test="${currentUser.user.userType!=1 && fn:indexOf(currentUser.privs,';BUSI_COMP;')==-1}"><img src="/images/fac5.gif" border="0" title="将已经制作完成的项目设置为已完工状态，方便门市部了解制作进度"></c:if> 
			              </td>
			              <td width="8%">&nbsp;</td>
			              <td width="19%">&nbsp;</td>
			            </tr>
			            <tr>
				            <td colspan="8" height="60">&nbsp;</td>
				        </tr>
				        <tr>
			              <th height="32" scope="row">&nbsp;</th>
			              <td align="center">
			              	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BUSI_COOP;')!=-1}"><a href="javascript:showWin(1024,600,'/cooper/BusinessBillListForCooper.ihtm');"><img src="/images/coo7.gif" border="0" title="查看哪些业务单需要外协" /></a></c:if>
			            	<c:if test="${currentUser.user.userType!=1 && fn:indexOf(currentUser.privs,';BUSI_COOP;')==-1}"><img src="/images/coo7.gif" border="0" title="查看哪些业务单需要外协" /></c:if> 
			              </td>
			              <td><img src="/images/bus001.gif" /></td>
			              <td align="center">
			              	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';COOP_BILL;')!=-1}"><a href="javascript:showCooperBillDialog();"><img src="/images/coo0.gif" border="0" title="把业务单外发给同行制作，外协单作为与外协商的交易凭证" /></a></c:if>
			            	<c:if test="${currentUser.user.userType!=1 && fn:indexOf(currentUser.privs,';COOP_BILL;')==-1}"><img src="/images/coo0.gif" border="0" title="把业务单外发给同行制作，外协单作为与外协商的交易凭证" /></c:if> 
			              </td>
			              <td><img src="/images/bus001.gif" /></td>
			              <td align="center">
			              	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';GATH_BILL;')!=-1}"><a href="javascript:showGatherBillDialog();"><img src="/images/coo1.gif" border="0" title="当收到外协商完成的项目，将外协单标记为已收货状态"></a></c:if>
				            <c:if test="${currentUser.user.userType!=1 && fn:indexOf(currentUser.privs,';GATH_BILL;')==-1}"><img src="/images/coo1.gif" border="0" title="当收到外协商完成的项目，将外协单标记为已收货状态"></c:if> 
			              </td>
			              <td><img src="/images/bus001.gif" /></td>
			              <td align="center">
			              	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';COOP_COMP;')!=-1}"><a href="javascript:showWin(1024,600,'/cooper/BusinessBillListForCooComp.ihtm');"><img src="/images/coo4.gif" border="0" title="标记业务单已经完成外协" /></a></c:if>
			            	<c:if test="${currentUser.user.userType!=1 && fn:indexOf(currentUser.privs,';COOP_COMP;')==-1}"><img src="/images/coo4.gif" border="0" title="标记业务单已经完成外协" /></c:if>
			              </td>
			            </tr>
			        </table>
			    </td>
			  </tr>
			</table>
		</div>
	</div>
</div>
</body>
</html>